Skip to content

ci: add read-only permissions to lint and unix_build workflows - #5

Merged
Tieske merged 1 commit into
mainfrom
copilot/add-read-only-permissions-to-lint-and-unix-build
Aug 1, 2026
Merged

ci: add read-only permissions to lint and unix_build workflows#5
Tieske merged 1 commit into
mainfrom
copilot/add-read-only-permissions-to-lint-and-unix-build

Conversation

Copilot AI commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Pins the GITHUB_TOKEN to least-privilege by adding a top-level permissions: contents: read block to both workflow files. Without this, the token defaults to broad write access across all scopes.

Changes

  • .github/workflows/lint.yml — add permissions: contents: read
  • .github/workflows/unix_build.yml — add permissions: contents: read

@Tieske
Tieske marked this pull request as ready for review August 1, 2026 19:34
@Tieske
Tieske merged commit 5fb6170 into main Aug 1, 2026
0 of 8 checks passed
@Tieske
Tieske deleted the copilot/add-read-only-permissions-to-lint-and-unix-build branch August 1, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants